/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.product.entity.ViewNPICKM
   Module Description   :

   Date Created      : 2010/2/9
   Original Author   : feeling.wang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.product.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * @author feeling.wang
 * 
 */
@Entity
@Table(name = "EC_VIEW_PICK_PRODUCT")
public class ViewPickProduct {

	/** 上架編號 */
	@Id
	@Column(name = "SHELF_ID")
	private Long shelfId;

	/** 商品編號 */
	@Column(name = "PRODUCT_ID", length = 8)
	private String productId;

	/**
	 * 商品名稱
	 */
	@Column(name = "PRODUCT_NAME", nullable = false, length = 500)
	private String productName;

	/** 上架起始日期時間 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "START_DATE")
	private Date startDate;

	/** 上架結束日期時間 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "END_DATE")
	private Date endDate;

	/** 商品促銷小標 */
	@Column(name = "PROMOTE_NAME", length = 200)
	private String promoteName;

	/** 上架售價 */
	@Column(name = "SHELF_PRICE", nullable = false, columnDefinition = "numeric(10,2)")
	private BigDecimal shelfPrice;

	/** 備註 */
	@Column(name = "SHELF_MEMO", length = 200)
	private String shelfMemo;

	/** 上架狀態 */
	@Column(name = "SHELF_STATUS", length = 6)
	private String shelfStatus;

	/**
	 * N选M件之M值(即可挑选件数)
	 */
	@Column(name = "PICKUP_QTY")
	private int pickupQty;

	/**
	 * N选M件之M值(即可挑选件数)
	 */
	@Column(name = "IS_DELETE")
	private String isDelete;

	/**
	 * N选M搭配商品列表
	 */
	@Column(name = "ADDON_PRODUCT_ID")
	private String addonProductId;

	@Column(name = "SUPPLIER_ID")
	private String supplierId;

	/**
	 * 品牌
	 */
	@Column(name = "PRODUCT_BRAND", length = 100)
	private String productBrand;

	@Column(name = "CATEGORY_PATH")
	private String categoryPath;

	/**
	 * 主要負責PM
	 */
	@Column(name = "PM_ID", length = 30)
	private String pmID;

	/**
	 * PM所屬單位
	 */
	@Column(name = "ORGANIZATION_PATH", length = 50)
	private String organizationPath;

	/**
	 * 是否上架中
	 */
	@Column(name = "FLAG", length = 1)
	private String flag;

	/** 修改時間 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "MODIFY_DATE")
	private Date modifyDate;

	/** 最新修改時間 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "MAX_DATE")
	private Date maxDate;

	public String getAddonProductId() {
		return addonProductId;
	}

	public String getCategoryPath() {
		return categoryPath;
	}

	public Date getEndDate() {
		return endDate;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public String getOrganizationPath() {
		return organizationPath;
	}

	public int getPickupQty() {
		return pickupQty;
	}

	public String getPmID() {
		return pmID;
	}

	public String getProductId() {
		return productId;
	}

	public String getProductName() {
		return productName;
	}

	public String getPromoteName() {
		return promoteName;
	}

	public Long getShelfId() {
		return shelfId;
	}

	public String getShelfMemo() {
		return shelfMemo;
	}

	public BigDecimal getShelfPrice() {
		return shelfPrice;
	}

	public String getShelfStatus() {
		return shelfStatus;
	}

	public Date getStartDate() {
		return startDate;
	}

	public String getSupplierId() {
		return supplierId;
	}

	public void setAddonProductId(String addonProductId) {
		this.addonProductId = addonProductId;
	}

	public void setCategoryPath(String categoryPath) {
		this.categoryPath = categoryPath;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	public void setOrganizationPath(String organizationPath) {
		this.organizationPath = organizationPath;
	}

	public void setPickupQty(int pickupQty) {
		this.pickupQty = pickupQty;
	}

	public void setPmID(String pmID) {
		this.pmID = pmID;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public void setPromoteName(String promoteName) {
		this.promoteName = promoteName;
	}

	public void setShelfId(Long shelfId) {
		this.shelfId = shelfId;
	}

	public void setShelfMemo(String shelfMemo) {
		this.shelfMemo = shelfMemo;
	}

	public void setShelfPrice(BigDecimal shelfPrice) {
		this.shelfPrice = shelfPrice;
	}

	public void setShelfStatus(String shelfStatus) {
		this.shelfStatus = shelfStatus;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public void setSupplierId(String supplierId) {
		this.supplierId = supplierId;
	}

	public String getProductBrand() {
		return productBrand;
	}

	public void setProductBrand(String productBrand) {
		this.productBrand = productBrand;
	}

	public String getFlag() {
		return flag;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public Date getMaxDate() {
		return maxDate;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	public void setMaxDate(Date maxDate) {
		this.maxDate = maxDate;
	}
}